package com.yatube.yygh.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yatube.yygh.model.cmn.Dict;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * @author Created with IDEA
 * @description --
 * @date 2024-04-23 11:46
 */
public interface DictService extends IService<Dict> {

    void exportDictData(HttpServletResponse httpServletResponse) throws IOException;

    void importDictData(MultipartFile file) throws IOException;

    List<Dict> findChildren(Long id);

}
